/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ControlLayer;

import DBLayer.DBProductContainer;
import ModelLayer.Product;
import java.util.ArrayList;

/**
 *
 * @author Moulde
 */
public class ProductController
{
    DBProductContainer container;
    public ProductController()
    {
        container = new DBProductContainer();
    }

    public Product getProduct(int productID)
    {
        return container.getProduct(productID);
    }

    public ArrayList<Product> getProducts()
    {
        return container.getProducts();
    }
}
